<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019-01-30
 * Time: 10:13
 */

namespace app\index\validate;


use think\Validate;

class Wdemand extends Validate
{
    protected $rule = [
        'dc_type'             => 'require',
        'dc_content'             => 'require',
        'dc_phone'             => 'require',
        'dc_name'             => 'require',
        'verify'             => 'require',
    ];

    protected $message = [
        'dc_type.require'              => '请选择需求类型',
        'dc_content.require'              => '需求描述不能为空',
        'dc_phone.require'              => '请输入您的联系方式',
        'dc_name.require'              => '请输入您的姓名',
        'verify.require'            => '请输入验证码',
    ];

}